﻿Imports SIGI.Common.BE
Imports SIGI.BackEnd.BC

Public Class AppointmentSVC

#Region "<< -SearchByDate- >>"
    Public Shared Function SearchByDate(ByVal pDate As Date, ByVal pUserName As String) As List(Of AppointmentBE)
        Return AppointmentBC.SearchByDate(pDate, pUserName)
    End Function
#End Region

#Region "<< -Search- >>"
    Public Shared Function Search(ByVal pUserName As String) As List(Of AppointmentBE)
        Return AppointmentBC.Search(pUserName)
    End Function
#End Region

#Region "<< -Insert- >>"
    Public Shared Function Insert(ByVal pApt As AppointmentBE, ByVal pUserName As String) As Integer
        Return AppointmentBC.Insert(pApt, pUserName)
    End Function
#End Region

#Region "<< -Update- >>"
    Public Shared Sub Update(ByVal pApt As AppointmentBE)
        AppointmentBC.Update(pApt)
    End Sub
#End Region

#Region "<< -Delete- >>"
    Public Shared Sub Delete(ByVal pAptId As Integer)
        AppointmentBC.Delete(pAptId)
    End Sub
#End Region
End Class
